package com.cc.dao;

import java.util.List;

import com.cc.entity.Advice;

public interface AdviceMapper {
    int deleteByPrimaryKey(String id);

    int insert(Advice record);

    int insertSelective(Advice record);

    Advice selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Advice record);

    int updateByPrimaryKey(Advice record);
    
    
    /**
     * 更加studentid查找advice
     */
    public List<Advice> selectByStudentId(String studentid);
}